package smetana.modules.ui.actions;

import com.google.inject.Inject;
import smetana.modules.ui.form.about.AboutProgramDialog;
import smetana.modules.ui.model.UIModel;

/**
 * @author dmitry.mamonov
 */
public class AboutAction extends AbstractAction {
    @Inject
    UIModel uiModel;
    
    @Inject
    AboutProgramDialog aboutProgramDialog;

    @Override
    public void perform() {
        aboutProgramDialog.getDialog().open(uiModel.getWindow());
    }
}
